package View;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;


public class WindowMenu extends JFrame{
	
	private Panel pan = new Panel(this);
	private int maxHeight = 714; 
	private int maxWidth = 568;
	
	public WindowMenu(){
		
		this.setTitle("Menu");
        this.setSize(maxHeight,maxWidth);
        //Empeche le redimensionnement de la fenetre
        this.setResizable(false);
        //Le bouton croix ferme l'application
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        //Affiche la fenetre au milieu
        this.setLocationRelativeTo(null);
        
		this.setContentPane(pan);
		this.setVisible(true);
		
	}

}
